Skip to content

spec(processes): parallel fork/join step (kind: parallel) - #7

Open
delchev wants to merge 2 commits into
mainfrom
spec/process-parallel
Open

spec(processes): parallel fork/join step (kind: parallel)#7
delchev wants to merge 2 commits into
mainfrom
spec/process-parallel

Conversation

@delchev

@delchev delchev commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Documents a kind: parallel step: run branch steps concurrently and rejoin before next (a parallel-gateway fork/join). At least two branches, each a single declared task step that joins directly; next is a declared step or end. Multi-step branch chains and nested parallels are recorded under Planned. Leaving open for the maintainer.

delchev added 2 commits August 6, 2026 13:40
A parallel step runs its branch steps concurrently and joins before next - a
parallel-gateway fork/join. v1: >=2 single-step task branches joining directly,
no branch chains or nested parallels (recorded under Planned).
A branch continues through its own routing (its `next`, a decision's
`then`/`else`, a boundary timer branch) and may itself be a `parallel`.
Everything reachable that way belongs to the branch; a step declaring no
routing is a terminal and joins, and the new routing literal `join`
converges on the innermost enclosing join gateway - which is how a
decision inside a branch rejoins from both arms.

Records the rules that keep a branch a closed sub-flow: `join` only
inside a branch (and never a step name), no `end` inside a branch, no
step in two branches, a branch entered through its fork only, and
`next` optional on a nested fork.

Drops the corresponding "Planned" entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant